pub fn main() {
    let hello = not_dangle();
    println!("{}",hello);
}

// 悬垂引用
// fn dangle() ->&'static String {
//     let value = String::from("Hello");
//     &value
// }
fn not_dangle() ->String {
    let value = String::from("Hello");
    value
}